package com.ithiema.edu.info.manager.controller;

import com.ithiema.edu.info.manager.domain.Student;

public class StudentController extends BaseStudentController{
    //简化学员信息输入
    @Override
    Student input_Student(String id) {
        System.out.println("请输入姓名");
        String name = sc.next();
        System.out.println("请输入性别");
        String sex = sc.next();
        System.out.println("请输入生日");
        String birthday = sc.next();
        //返回封装信息的学生类(利用全参构造封装信息)
        return new Student(id, name, sex, birthday);
    }
}
